import { FC, useState } from "react";

import QfDialog from "../components/qfDialog";

interface Props {}
const Index: FC<Props> = () => {
  const [state, setState] = useState(false);

  return (
    <fieldset className="06">
      <legend>06-portal</legend>

      <button onClick={() => setState(true)}>显示弹框</button>

      <QfDialog state={state} setState={setState}>
        <h1>表单数据</h1>
      </QfDialog>
    </fieldset>
  );
};

export default Index;
